package com.example.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "AI对话", description = "用于AI对话的数据")
public class AiTalk
{
    /**ai要扮演的角色---*/
    @ApiModelProperty(value = "AI要扮演的角色", example = "小老鼠",required = true)
    private String role;
    /**用户与ai的对话内容*/
    @ApiModelProperty(value = "问AI的内容", example = "你好",required = true)
    private String txtData;

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getTxtData() {
        return txtData;
    }

    public void setTxtData(String txtData) {
        this.txtData = txtData;
    }
}
